<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="eng" lang="eng">
<head>
    <link href="../../qa/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="../../qa/static/css/font.css" rel="stylesheet">
    <meta http-equiv=refresh content=8;url="./#"/>
    <link href="../../qa/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <title>钉钉打卡提醒</title>
</head>
<body style="background-color: #5eaade; text-align: center">
    <div style="margin-top: 10%">
            <span id="tiao">8</span>
            <a href="javascript:countDown"> 秒后自动关闭...</a>
        <p style="margin-top: 10px">
            {{ mytime }}
        </p>
        <p>
            {{ ltext }}
        </p>
        <input type="submit" class="btn btn-primary" name="close" id="close" value="我打了哟!" onclick="closeWP()"/>
    </div>
    <script type="text/javascript">
        function closeWP() {
            alert("{{ attent }}")
        }
        function countDown(secs){
         tiao.innerText=secs;
         if(--secs>0)
          setTimeout("countDown("+secs+")",1000);
         }
         countDown(8);
        </script>
</body>
</html>